using System;
using System.Collections.Generic;
using System.Text;
using SdlDotNet.Graphics;

namespace SnakeCharp
{
    /// <summary>
    /// The Screen that every Sprites should be drawed on
    /// </summary>
    public static class Screen
    {
        private static Surface screen;

        /// <summary>
        /// Gets or sets the surface.
        /// </summary>
        /// <value>The surface.</value>
        public static Surface Surface
        {
            get { return screen; }
            set { screen = value; }
        }

        /// <summary>
        /// Gets the width.
        /// </summary>
        /// <value>The width.</value>
        public static int Width
        {
            get { return screen.Width; }
        }

        /// <summary>
        /// Gets the height.
        /// </summary>
        /// <value>The height.</value>
        public static int Height
        {
            get { return screen.Height; }
        }
    }
}
